package cn.example.util;

import cn.example.util.toolkit.*;

/**
 * 工具工厂抽象对象，用于创建工具类
 * Created by WuYB on 2017/5/4.
 */
public class ToolFactory {

    private ToolFactory() {
        throw new IllegalStateException("不可实例化的工具类！");
    }


    public static DateUtil getDateUtil() {
        return DateUtil.getInstance();
    }

    public static EncryptUtil getEncryptUtil() {
        return EncryptUtil.getInstance();
    }

    public static IOUtil getIOUtil() {
        return IOUtil.getInstance();
    }

    public static NullUtil getNullUtil() {
        return NullUtil.getInstance();
    }

    public static HttpUtil getHttpUtil() {
        return HttpUtil.getInstance();
    }

    public static BeanUtil getBeanUtil() {
        return BeanUtil.getInstance();
    }

    public static ImageUtil getImageUtil() {
        return ImageUtil.getInstance();
    }

    public static RandomUtil getRandomUtil() {
        return RandomUtil.getInstance();
    }

    public static WXPayUtil getWXPayUtil() {
        return WXPayUtil.getInstance();
    }

    public static UploadUtil getUploadUtil() {
        return UploadUtil.getInstance();
    }

    public static ListUtil getListUtil() {
        return ListUtil.getInstance();
    }

    public static StringUtil getStringUtil() {
        return StringUtil.getInstance();
    }

    public static PoiUtil getPoiUtil() {
        return PoiUtil.getInstance();
    }

}
